/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package DBLayer;

import ModelLayer.GunReplicas;
import java.util.ArrayList;

/**
 *
 * @author Tommy
 */
public interface IFDBGunReplicas {
    // get all GunReplicas
    public ArrayList getAllGunReplicas(boolean retriveAssociation);
    //get one GunReplicas having the dno
    public GunReplicas findGunReplicas(int dno, boolean retriveAssociation);
    //find one GunReplicas having the GunReplicas name
    public GunReplicas searchGunReplicasOnName(String dname, boolean retriveAssociation);
    //insert new GunReplicas
    public int insert(GunReplicas gu);
    //update GunReplicas
    public int update(GunReplicas gu);
    //delete GunReplicas
    public int delete(GunReplicas gu);
}
